﻿namespace DotRas
{
    using System;

    public class RasConnectionEventArgs : EventArgs
    {
        private RasConnection _connection;

        internal RasConnectionEventArgs(RasConnection connection)
        {
            if (connection == null)
            {
                DotRas.ThrowHelper.ThrowArgumentNullException("connection");
            }
            this._connection = connection;
        }

        public RasConnection Connection
        {
            get
            {
                return this._connection;
            }
        }
    }
}

